package com.huxiu.net.model;

import com.google.gson.Gson;

/**
 * Created by tian on 15/4/17:下午6:20.
 */
public class BindInfoData {
    public String uid;
    public String email;
    public String avatar;
    public String mobile;
    public String nickname;
    public String username;
    public String introduction;
    public int user_type;
    public int user_level;
    public int unread_message;
    public String token;
    public BindInfo[] bindinfo;

    public class BindInfo {
        public String id;
        public String uid;
        public String oauth_uid;
        public String token;
        public String from;
        public String create_time;
        public String expires_time;
//        public Object callbackinfo;
        public String unionid;
    }

//    public class CallbackInfo {
//        public String nickname;
//    }

    public String toString() {
        return new Gson().toJson(this);
    }
}
